//
//  KLStatusNormalCell.swift
//  BCWeiBo
//
//  Created by bcmac3 on 16/4/5.
//  Copyright © 2016年 KellenYangs. All rights reserved.
//

import UIKit

class KLStatusNormalCell: KLStatusTableViewCell {

    override func setupUI() {
        super.setupUI()
        
        // 正文
        contentLabel.xmg_AlignVertical(type: XMG_AlignType.BottomLeft, referView: topView, size: nil, offset: CGPoint(x: 10, y: 10))
        
        // 配图
        let cons =  pictureView.xmg_AlignVertical(type: XMG_AlignType.BottomLeft, referView: contentLabel, size: CGSizeZero, offset: CGPoint(x: 0, y: 10))
        
        widthCons = pictureView.xmg_Constraint(cons, attribute: NSLayoutAttribute.Width)
        heightCons = pictureView.xmg_Constraint(cons, attribute: NSLayoutAttribute.Height)
        topCons = pictureView.xmg_Constraint(cons, attribute: NSLayoutAttribute.Top)
    }


}
